﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<WebHoiChoMuaBan.Models.Member>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Register</title>
</head>
<body>
    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemId) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemId) %>
                <%= Html.ValidationMessageFor(model => model.MemId) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemUsername) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemUsername) %>
                <%= Html.ValidationMessageFor(model => model.MemUsername) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemPassword) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemPassword) %>
                <%= Html.ValidationMessageFor(model => model.MemPassword) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemEmail) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemEmail) %>
                <%= Html.ValidationMessageFor(model => model.MemEmail) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemFullname) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemFullname) %>
                <%= Html.ValidationMessageFor(model => model.MemFullname) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemSubcribe) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemSubcribe) %>
                <%= Html.ValidationMessageFor(model => model.MemSubcribe) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemUpPoint) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemUpPoint) %>
                <%= Html.ValidationMessageFor(model => model.MemUpPoint) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemVirPoint) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemVirPoint) %>
                <%= Html.ValidationMessageFor(model => model.MemVirPoint) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemUpTime) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemUpTime) %>
                <%= Html.ValidationMessageFor(model => model.MemUpTime) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemUpCount) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemUpCount) %>
                <%= Html.ValidationMessageFor(model => model.MemUpCount) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemInterval) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemInterval) %>
                <%= Html.ValidationMessageFor(model => model.MemInterval) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemBanner) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemBanner) %>
                <%= Html.ValidationMessageFor(model => model.MemBanner) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemBgImg) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemBgImg) %>
                <%= Html.ValidationMessageFor(model => model.MemBgImg) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemAvatar) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemAvatar) %>
                <%= Html.ValidationMessageFor(model => model.MemAvatar) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemSlogan) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemSlogan) %>
                <%= Html.ValidationMessageFor(model => model.MemSlogan) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemBirthdate) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemBirthdate) %>
                <%= Html.ValidationMessageFor(model => model.MemBirthdate) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.ProId) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.ProId) %>
                <%= Html.ValidationMessageFor(model => model.ProId) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemStatus) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemStatus) %>
                <%= Html.ValidationMessageFor(model => model.MemStatus) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemTypeId) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemTypeId) %>
                <%= Html.ValidationMessageFor(model => model.MemTypeId) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemJob) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemJob) %>
                <%= Html.ValidationMessageFor(model => model.MemJob) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemCompany) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemCompany) %>
                <%= Html.ValidationMessageFor(model => model.MemCompany) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemCompanyIntro) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemCompanyIntro) %>
                <%= Html.ValidationMessageFor(model => model.MemCompanyIntro) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemSelfIntro) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemSelfIntro) %>
                <%= Html.ValidationMessageFor(model => model.MemSelfIntro) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemWebSite) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemWebSite) %>
                <%= Html.ValidationMessageFor(model => model.MemWebSite) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemHomePhone) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemHomePhone) %>
                <%= Html.ValidationMessageFor(model => model.MemHomePhone) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemCellPhone) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemCellPhone) %>
                <%= Html.ValidationMessageFor(model => model.MemCellPhone) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemFax) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemFax) %>
                <%= Html.ValidationMessageFor(model => model.MemFax) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemLatitude) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemLatitude) %>
                <%= Html.ValidationMessageFor(model => model.MemLatitude) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemLongtitude) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemLongtitude) %>
                <%= Html.ValidationMessageFor(model => model.MemLongtitude) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemZoomLevel) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemZoomLevel) %>
                <%= Html.ValidationMessageFor(model => model.MemZoomLevel) %>
            </div>
            
            <div class="editor-label">
                <%= Html.LabelFor(model => model.MemJoinDate) %>
            </div>
            <div class="editor-field">
                <%= Html.TextBoxFor(model => model.MemJoinDate) %>
                <%= Html.ValidationMessageFor(model => model.MemJoinDate) %>
            </div>
            
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%= Html.ActionLink("Back to List", "Index") %>
    </div>

</body>
</html>

